.class public Lnbisdk/bd;
.super Ljava/lang/Object;


# instance fields
.field ct:Ljava/lang/String;

.field cu:Ljava/lang/Object;

.field cv:J

.field cw:I

.field cx:J

.field cy:Z


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/Object;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/bd;->cy:Z

    iput-object p1, p0, Lnbisdk/bd;->ct:Ljava/lang/String;

    iput-object p2, p0, Lnbisdk/bd;->cu:Ljava/lang/Object;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lnbisdk/bd;->cv:J

    const/4 v0, 0x1

    iput v0, p0, Lnbisdk/bd;->cw:I

    return-void
.end method

.method public static a(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)Lnbisdk/gn;
    .locals 1

    :try_start_0
    new-instance v0, Lnbisdk/hp;

    invoke-direct {v0, p0, p1}, Lnbisdk/hp;-><init>(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static b(Lcom/nbi/common/NBIContext;)Lnbisdk/hi;
    .locals 1

    :try_start_0
    invoke-static {p0}, Lnbisdk/gz;->f(Lcom/nbi/common/NBIContext;)Lnbisdk/gz;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static b(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)Lnbisdk/or;
    .locals 3

    const/4 v2, 0x7

    const/4 v1, 0x5

    :try_start_0
    sget-object v0, Landroid/os/Build$VERSION;->SDK:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    if-ge v0, v1, :cond_0

    const-string v0, "com.nbi.location.android.AndroidNetworkLocationProvider_API_3"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ct;

    :goto_0
    if-eqz v0, :cond_3

    invoke-virtual {v0, p0, p1}, Lnbisdk/ct;->c(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)V

    :goto_1
    return-object v0

    :cond_0
    if-lt v0, v1, :cond_1

    if-ge v0, v2, :cond_1

    const-string v0, "com.nbi.location.android.AndroidNetworkLocationProvider_API_5"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ct;

    goto :goto_0

    :cond_1
    if-lt v0, v2, :cond_2

    const-string v0, "nbisdk.rw"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/ct;

    goto :goto_0

    :cond_2
    new-instance v0, Ljava/lang/ClassNotFoundException;

    invoke-direct {v0}, Ljava/lang/ClassNotFoundException;-><init>()V

    throw v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    move-exception v0

    :cond_3
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public static c(Lcom/nbi/common/NBIContext;)Lnbisdk/og;
    .locals 1

    :try_start_0
    invoke-static {p0}, Lnbisdk/da;->e(Lcom/nbi/common/NBIContext;)Lnbisdk/da;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static d(Lcom/nbi/common/NBIContext;)Lnbisdk/cj;
    .locals 1

    :try_start_0
    invoke-static {p0}, Lnbisdk/bc;->a(Lcom/nbi/common/NBIContext;)Lnbisdk/bc;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
